import  matplotlib.pyplot as plt
import numpy as np
# 初始化x轴坐标点数组
xpoints = np.array([0, 60,123])
# 初始化y轴坐标点数组
ypoints = np.array([0, 240,124])

# 使用Matplotlib库绘制一条从(0, 0)到(60, 240)的直线
plt.plot(xpoints, ypoints)

# plt.plot(xpoints, ypoints,'o')

# 显示绘制的图像
plt.show()

